package com.example.foods.domain;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class FoodsInfo {
    private Integer foodId;
    @NotBlank
    private String foodName;

    @NotNull
    private Float price;
    private String remarks;
    @NotEmpty
    private List<Integer> catId;
    private List<Integer> tagId;
    @NotBlank
    private String baseImg;
    private List<String> imgPath;
}
